//
//  WMHTTPRequestOperationManager.m
//  WishMark
//
//  Created by EvanZ on 15-3-13.
//  Copyright (c) 2015年 EvanZ. All rights reserved.
//

#import "HTTPRequestOperationManager.h"

@implementation HTTPRequestOperationManager

//get categoried Servlet
- (void)categoryServletSuccess:(void (^)(AFHTTPRequestOperation *, id))success failure:(void (^)             (AFHTTPRequestOperation *, NSError *))failure{

    NSString * urlStr = [[NSString stringWithFormat:@"%@/zhuanyongjingserver/categoryServlet?page=1&rows=6",BASED_URL] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    NSLog(@"\n get_dish \n GET url:%@",urlStr);
    [self GET:urlStr parameters:nil success:success failure:failure];
}

@end
